import { createStore } from 'vuex'

export default createStore({
  state: {
    loginState:false,//是否是第一次登录
    isFoldMenus:false,//是否折叠菜单

  },
  getters: {
  },
  mutations: {
    changeLoginState(state,bool){
      state.loginState = bool
    },
    // 改变菜单折叠状态
    changeFoldMenus(state,bool){
      state.isFoldMenus = bool
    }
  },
  actions: {
  },
  modules: {
  }
})
